<template>
    <view class="header">
        <view class="logo">
            <navigator url="/">{{ config.seo_name }}</navigator>
        </view>
        <view @click="openMenu" class="toggle">≡</view>
    </view>
</template>

<script>
import {mapGetters} from "vuex";

export default {
    name: "AppHeader",
    computed: {
        ...mapGetters(['config']),
    },
    methods: {
        openMenu() {
            this.$emit('openMenu')
        }
    }
}
</script>
